# Python Project
# 撰写人：Blackstar
# 百鸡百钱
#公鸡5钱，母鸡3钱，小鸡三只1钱，鸡总数为100只，花的钱为100钱，求各种鸡的个数
c = 0
z = 1
while (c <= 20):
    h = 0
    while (h <= 33):
        ch = 0
        while (ch <= 100):
            if ((c + h) + ch == 100):
                if ((5 * c + 3 * h) + ch / 3 == 100):
                    print((('第' + str(z)) + '种方案：'))
                    print((('公鸡：' + str(c)) + '只'))
                    print((('母鸡：' + str(h)) + '只'))
                    print((('小鸡：' + str(ch)) + '只'))
                    z += 1
            ch += 1
        h += 1
    c += 1
